import 'package:flutter/cupertino.dart';
import 'package:get/get.dart';
import '../../../user/controllers/user_controller.dart';

class CodeLoginStepTwoController extends GetxController {
  //TODO: Implement CodeLoginStepTwoController

  UserController userController = Get.find<UserController>();

  final TextEditingController editingController = TextEditingController();

  final count = 0.obs;
  @override
  void onInit() {
    super.onInit();
  }

  @override
  void onReady() {
    super.onReady();
  }

  @override
  void onClose() {
    super.onClose();
    // 更新用户状态
    userController.getUserInfo();
  }

  void increment() => count.value++;
}
